<%@ page language="java" contentType="text/html; charset=UTF-8"  pageEncoding="UTF-8" %>
<%//@ include file="/jsp/include/header.jsp"%>
<script type="text/javascript" charset="UTF-8">
	$(function() {
		$('#${tb.tableId}').datagrid({
			${tb.tableCfg}
			pagination : true,
			pageSize : 20,
			pageList : [20],
			fit : true,
			fitColumns : true,
			nowrap : false,
			singleSelect:true,
			border : false,
			toolbar : '#${tb.toolBarId}'
		});
	});
	function searchFun() {
		var data=${tb.tableQryParam};
		data=JSON.stringify(data);
		$('#${tb.tableId}').datagrid('load',{params:data}) ;
	}
	function clearFun() {
		$('#${tb.toolBarId} input').val('');
		$('#${tb.tableId}').datagrid('load', {});
	}
</script>
<div class="easyui-layout" data-options="fit : true,border : false">
	<div region="north" border="false" style="overflow: hidden;">
		<div id="${tb.toolBarId}" class="datagrid-toolbar" style="height: auto;">
			<fieldset>
				<legend>查询条件</legend>
				<table class="tableForm"> 
					 ${tb.tableQryCond}
				</table>
			</fieldset>
		</div>
	</div>
	<div data-options="region:'center',border:false">
		<table id="${tb.tableId}"></table>
	</div>

</div>